<html>
<body>
<p>Reports new instance creation of classes annotated with <code>@groovy.lang.Singleton</code>.
  Such constructions can lead to runtime exception <b>Can't instantiate singleton</b>.</p>
<p><b>Example:</b></p>
<pre><code>
  @Singleton
  class Foo{
  }
  
  Foo foo = <b>new Foo()</b>
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  @Singleton
  class Foo{
  }
  
  Foo foo = <b>Foo.instance</b>
</code></pre>
</body>
</html>
